package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 颁发机构与一级单位关系对象 issuer_and_unitrelation
 * 
 * @author ess
 * @date 2021-10-18
 */
public class IssuerAndUnitrelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 颁发机构ID */
    private String issuerUnitId;

    /** 一级单位ID */
    @Excel(name = "一级单位ID")
    private String topUnitId;

    public void setIssuerUnitId(String issuerUnitId) 
    {
        this.issuerUnitId = issuerUnitId;
    }

    public String getIssuerUnitId() 
    {
        return issuerUnitId;
    }
    public void setTopUnitId(String topUnitId) 
    {
        this.topUnitId = topUnitId;
    }

    public String getTopUnitId() 
    {
        return topUnitId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("issuerUnitId", getIssuerUnitId())
            .append("topUnitId", getTopUnitId())
            .toString();
    }
}
